<!-- #include file="_kudzu.asp" -->
<%
'------------------------------------------------------------
' Create an instance of the template engine
'------------------------------------------------------------
Dim T_ENGINE
Set T_ENGINE = New CTemplateEngine

'------------------------------------------------------------
' Set some values into the template engine
'------------------------------------------------------------
T_ENGINE.PutValue "PageTitle", "KudzuASP"
T_ENGINE.PutValue "PageSubTitle", "Example 2 - Using Substitution"
T_ENGINE.PutValue "UserFName", "Joe"
T_ENGINE.PutValue "UserLName", "Client"
T_ENGINE.PutValue "PageDate", FormatDateTime(Now(),1)
T_ENGINE.PutValue "PageTime", FormatDateTime(Now(),3)

'------------------------------------------------------------
' Load the template and Generate Ouput
'------------------------------------------------------------
T_ENGINE.ParseFile Server.MapPath("KudzuASP_Example02.html")
T_ENGINE.EvalTemplate
%>
